#include <bits/stdc++.h>
#define fi first
#define se second
typedef long long ll;
using namespace std;
void solve()
{
    char s[10000];
    cin >> s;
    int k = 0;
    int l = strlen(s);
    for (int i = 0; i < l; i++)
    {
        if (s[i] == '"')
        {
            if (k == 0)
            {
                s[i] = '`';
                s[i + 1] = '`';
                k = 1;
            }
            else if (k == 1)
            {
                s[i] = '\'';
                s[i + 1] = '\'';
                k = 0;
            }
        }
    }
    for (int i = 0; i < l; i++)
        cout << s[i];
}
int main()
{
    cin.tie(nullptr);
    cout.tie(nullptr);
    ios::sync_with_stdio(false);
    int T = 1;
    // cin>>T;
    while (T--)
    {
        solve();
    }
    return 0;
}